package com.ruoyi.project.gxgw_modules.discountManager.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 优惠券类型表 cxj_yhq_type
 * 
 * @author zhy
 * @date 2019-01-16
 */
public class YhqType extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	@Excel(name = "id")
	private Integer typeId;
	/** 优惠券父类型id */
	@Excel(name = "父类型id")
	private Integer fId;
	/** 优惠券级别 */
	@Excel(name = "级别")
	private Integer menu;
	/** 优惠类型 */
	@Excel(name = "优惠类型")
	private String typeName;
	/** 是否删除 */
	@JsonIgnore
	private String delFlag;

	/** 父类型名称 */
	private String fName;

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public void setTypeId(Integer typeId)
	{
		this.typeId = typeId;
	}

	public Integer getTypeId() 
	{
		return typeId;
	}
	public void setFId(Integer fId) 
	{
		this.fId = fId;
	}

	public Integer getFId() 
	{
		return fId;
	}
	public void setMenu(Integer menu) 
	{
		this.menu = menu;
	}

	public Integer getMenu() 
	{
		return menu;
	}
	public void setTypeName(String typeName) 
	{
		this.typeName = typeName;
	}

	public String getTypeName() 
	{
		return typeName;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("fId", getFId())
            .append("menu", getMenu())
            .append("typeName", getTypeName())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
